package com.zbkj.dal.base.enums;

import com.zbkj.dal.base.enums.show.EnumInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ProductParts implements EnumInterface<String> {

    // 发票
    INVOICE("INVOICE", "发票"),
    // 盒子
    BOX("BOX", "盒子"),
    // 防尘袋
    DUST_BAG("DUST_BAG", "防尘袋"),
    // 身份卡
    ID_CARD("ID_CARD", "身份卡"),
    ;

    private final String code;
    private final String desc;

    public String code() {
        return getCode();
    }

    public String desc() {
        return getDesc();
    }
}
